package org.example.myerp.mapper.productDesign.customSetup;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.myerp.pojo.*;
import org.springframework.stereotype.Component;


/**
 * ��Ʒ���Ρ����ݷ��ʲ㡿
 * @author DELL
 *
 */
@Mapper
@Component
public interface ProlevelMapper {
	/**
	 * ��ѯȫ����Ʒ������Ϣ
	 * @return
	 */
	public List<Prolevel> findProlevelsAll();

	/**
	 * �����������в�ѯȫ����Ʒ���Ρ���ҳ��ѯ��
	 */
	public List<Prolevel> findProlevelByPagerMessage(Map<String, Object> params);

	/**
	 * ��ȡ��Ʒ������Ϣ������
	 * @return
	 */
	public Long findProlevelTotalNumber();

	/**
	 * ��Ӳ�Ʒ������Ϣ
	 * @param prolevel
	 * @return
	 */
	public Integer insertProlevelByNumName(Prolevel prolevel);

	/**
	 * ɾ����Ʒ������Ϣ
	 * @return
	 */
	public Integer deleteProlevelByNums(@Param("levelnums") Integer[] levelnums);
}
